package randomNumbersFrequency;
import java.lang.Math;
public class Main {
    public static void main(String[] args){
        int[] count=new int[100];
        for(int i=0;i<1000;i++){
            int n=(int)(Math.random()*100)+1;
            count[n-1]++;
        }
        for(int i=0;i<100;i++){
            System.out.println("frequency of "+(i+1)+" is "+count[i]);
        }
    }
}
